#pragma once
#include "Syntax/Kind.hpp"
#include "Syntax/Node.hpp"
#include "Syntax/Token.hpp"

class ElseClauseSyntax : public SyntaxNode
{
public:
    SharedToken ElseKeyWord;
    SharedStatement ElseStatement;

public:
    ElseClauseSyntax(SharedToken elseKeyword, SharedStatement elseStatement)
        : SyntaxNode(SyntaxKind::ElseClause, "ElseClause"), ElseKeyWord(elseKeyword), ElseStatement(elseStatement){};
    ~ElseClauseSyntax() = default;
};
// 定义类型;
typedef std::shared_ptr<ElseClauseSyntax> SharedElseClause;
